import { BookState } from '@/pages/PersonalCenter/components/BookList/interface';
import request from './index';

export function fetchPersonalBorrowBooList(
    id: string,
): Promise<RDD<BookState[]>> {
    return request.post('/getUserRentBook', {
        data: {
            user_id: id,
        },
    });
}
